<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>bluez</Name>
        <Homepage>http://bluez.sourceforge.net</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2+</License>
        <IsA>service</IsA>
        <IsA>library</IsA>
        <IsA>app:console</IsA>
        <Summary>Official Linux Bluetooth protocol stack</Summary>
        <Description>bluez contains the tools and libraries that provides support for the core Bluetooth layers and protocols.</Description>
        <Archive sha1sum="d19a5427651689e0eb52b583910837b39b869ed7" type="tarxz">https://www.kernel.org/pub/linux/bluetooth/bluez-5.43.tar.xz</Archive>
        <BuildDependencies>
            <Dependency>cups-devel</Dependency>
            <Dependency>dbus-devel</Dependency>
            <Dependency>libnl-devel</Dependency>
            <Dependency>alsa-lib-devel</Dependency>
            <Dependency>gstreamer-devel</Dependency>
            <Dependency>libsndfile-devel</Dependency>
            <!--Dependency>gst-plugins-base-devel</Dependency-->
            <Dependency>libical-devel</Dependency>
            <Dependency>glib2-devel</Dependency>
            <Dependency>eudev-devel</Dependency>
            <Dependency>readline-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="1">0001-Allow-using-obexd-without-systemd-in-the-user-session.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>bluez</Name>
        <RuntimeDependencies>
            <Dependency>dbus</Dependency>
            <Dependency>eudev</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>readline</Dependency>
            <Dependency>libical</Dependency>
            <Dependency release="current">bluez-libs</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="data">/lib/udev/rules.d</Path>
            <Path fileType="data">/lib/systemd/system</Path>
            <Path fileType="data">/usr/share/misc</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="executable">/usr/sbin</Path>
            <Path fileType="executable">/lib/udev</Path>
            <Path fileType="executable">/lib/bluetooth/obexd</Path>
            <Path fileType="executable">/lib/bluetooth/bluetoothd</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="executable">/usr/libexec</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="data">/var/lib/bluetooth</Path>
            <Path fileType="data">/usr/share/alsa/bluetooth.conf</Path>
            <Path fileType="data">/usr/share/dbus-1</Path>
            <Path fileType="config">/etc</Path>
        </Files>
        <Provides>
            <COMAR script="service.py">System.Service</COMAR>
        </Provides>
    </Package>

    <Package>
        <Name>bluez-libs</Name>
        <Summary>Libraries for use in Bluetooth applications</Summary>
        <RuntimeDependencies>
            <Dependency>libical</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/libbluetooth.so*</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <Package>
        <Name>bluez-libs-devel</Name>
        <Summary>Development files for bluez-libs</Summary>
        <RuntimeDependencies>
            <Dependency release="current">bluez-libs</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include/bluetooth</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
        </Files>
        <Provides>
        </Provides>
    </Package>

    <History>
        <Update release="4">
            <Date>2017-12-26</Date>
            <Version>5.43</Version>
            <Comment>Rebuild</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2017-02-17</Date>
            <Version>5.43</Version>
            <Comment>Version Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>5.33</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2015-08-16</Date>
            <Version>5.33</Version>
            <Comment>First release</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
